package org.bigjava.buff.user.bean;

import lombok.Data;
import org.bigjava.buff.goods.bean.ExteriorAndPrice;

import java.util.Date;

@Data
public class Deal {

    private Integer id;
    private String orderNumber;     //交易编号
    private ExteriorAndPrice ep;    //交易的物品
    private User user;              //卖家 买家
    private int dealType;           //交易类型 1/2  出售/求购
    private int state;              //交易状态 1/2/3/4  在售或求购/以售出但未发货/已发货/取消交易
    private Double price;           //本次交易价格
    private Date dealTime;          //交易时间
    private Integer result;         //交易结果 -1/0/1  交易失败/取消/交易成功

}
